﻿
/*TDCP通用的JS*/

(function () {
    var global = this;
    if (typeof global.Twi.TDCP == 'undefined') {
        Twi.TDCP = {};
    }
    global.twiModule = Twi.TDCP;
    twiModule.global = global;

    //顶部按钮栏被占据的高度
    twiModule.ToolbarTokenHeight = 40+10; 

    twiModule.GetAutoHeight = function () {
        return $(document).height() - twiModule.ToolbarTokenHeight;
    };

    //EasyUI 默认配置
    twiModule.EasyUI = {
        pageList: [5,10, 20, 50, 100]
    };

})();
